<template>
  <el-container class="main">
    <el-aside width="200px">
      <nav-menu />
    </el-aside>
    <el-container class="page">
      <el-header>
        <nav-header/>
      </el-header>
      <el-main class="page-content">
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>
<script setup>
import navMenu from '../../components/nav-menu/nav-menu.vue'
import navHeader from '@/components/nav-header/nav-header.vue'
</script>
<style scoped lang="less">
.main{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.page {
  height: 100%;
}
.el-aside {
  width: 200px;
  line-height: 30px;
  overflow: hidden;
  overflow-y: auto;
  background-color: #304156;
  &::-webkit-scrollbar {
    display: none;
  }
}
.el-header{
  height: 78px;
  padding: 0;
}

.page-content {
  margin: 0;
  padding: 0;
  height: calc(100% - 78px);
}
.el-main {
  color: #333;
  text-align: center;
  background-color: #e3e7ed;
}
.page-info {
  background-color: #fff;
  border-radius: 5px;
}
</style>
